﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DeploymentMaxLib.Actions
{
    class ActionTerminalServices : ActionBase
    {
        /// <summary>
        /// 
        /// </summary>
        public override string LongName
        {
            get { return Common.Constants.LongName; }
        }

        public override string Description
        {
            get { return Common.Constants.Description; }
        }

        public override ActionResponse Execute(ActionRequest pActionRequest)
        {
            base.Result = Validate(pActionRequest);

            if (!base.Result.HasErrorOrCritical())
            {
                var tExecutionType = pActionRequest.ExecutionType.ToEnum<Common.ExecutionType>();
            }
            return pActionRequest.GetResponse(this);
        }

        public static class Common
        {
            public enum ExecutionType
            {
                None = 0,
            }

            public static class Constants
            {
                public const string LongName = "";
                public const string Description = "";
            }
        }

        public override ActionResult Validate(ActionRequest pRequest)
        {
            throw new NotImplementedException();
        }
    }
}
